package com.learn.run;

import com.learn.config.AwareConfig;
import com.learn.service.AwareService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author:Mark
 * @Description:
 * @Date: Created on 11:57 2018-11-13
 * @Modify by:
 */
public class RunAware {

  public static void main(String[] args) throws Exception{
    AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext(AwareConfig.class);
    AwareService awareService = context.getBean(AwareService.class);
    awareService.openResult();
  }

}
